//封装axios
import request from "@/utils/request";


export function login(adminname, password) {
  return request({
    url: "/admin/admin/login",
    method: "POST",
    data: {
      adminname: adminname,
      password: password,
    },
  });
}
